Package-level declarations

Types

Link copied to clipboard
A CornerSize that always uses the provided size and ignores the bounds.
Link copied to clipboard
Adjusts another CornerSize by some amount.
Link copied to clipboard
A CornerSize that takes a desired absolute corner size and clamps the value to be no larger than half the length of the shortest edge (fully rounded/cut).
Link copied to clipboard
CornerFamily enum that holds which family to be used to create a CornerTreatmentThe corner family determines which family to use to create a CornerTreatment.
Link copied to clipboard
interface CornerSize
Allows clients to describe the size of a corner independently from a CornerTreatment.
Link copied to clipboard
open class CornerTreatment
A basic corner treatment (a single point which does not affect the shape).
Link copied to clipboard
A corner treatment which cuts or clips the original corner of a shape with a straight line.
Link copied to clipboard
open class EdgeTreatment
A basic edge treatment (a single straight line).
Link copied to clipboard
Helper class to handle shape interpolation when shaped views enter or exit the window.
Link copied to clipboard
Draws an arrow on the edge given the radius of a circle.
Link copied to clipboard
Base drawable class for Material Shapes that handles shadows, elevation, scale and color for a generated path.
Link copied to clipboard
Utility methods for MaterialShapeDrawable and related classes.
Link copied to clipboard
Offsets a different edge treatment by the given amount.
Link copied to clipboard
A CornerSize that takes a percent and computes the size used based on the length of the shortest edge adjacent to the corner.
Link copied to clipboard
A corner treatment which rounds a corner of a shape.
Link copied to clipboard
interface Shapeable
Provides a mechanism to uniformly modify the ShapeAppearanceModel that backs a component or android.graphics.drawable.Drawable's shape.
Link copied to clipboard
A delegate able to handle logic for when and how to mask/clip a View based on the View's and mask bounds.
Link copied to clipboard
This class models the edges and corners of a shape, which are used by to generate and render the shape for a view's background.
Link copied to clipboard
Link copied to clipboard
open class ShapePath
Represents the descriptive path of a shape.
Link copied to clipboard
This class models the edges and corners of a shape, which are used by to generate and render the shape for a view's background.
Link copied to clipboard
An edge treatment which draws triangles at the midpoint of an edge, facing into or out of the shape.